package chai.ning.wrapper1;

/**
 * 1、parseXxx( String s , int radix ) 返回的是基本数据类型的值
 */
public class ParseTest2 {

	public static void main(String[] args) {
		
		final String s = "101" ;
		
		byte b = Byte.parseByte( s , 2 );
		System.out.println( b );
		
		final String x = "ZZ" ;
		short t = Short.parseShort( x , 36 );
		System.out.println( t );
		
	}

}
